package cn.juque.workflow.api.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>LeaveApproveStatusEnum</li>
 * </ul>
 * @date 2023-01-31 20:45:21
 **/
public enum LeaveApproveStatusEnum {

    /**
     * ENUM
     */
    WAIT_SUBMIT(1, "待提交"),
    SUBMIT(2, "已提交"),
    APPROVE_ING(3, "审批中"),
    APPROVE_END(4, "审批完成"),
    APPROVE_REJECT(5, "已驳回"),
    APPROVE_DELETE(6, "已废弃"),
    ;
    private final Integer code;

    private final String label;

    LeaveApproveStatusEnum(Integer code, String label) {
        this.code = code;
        this.label = label;
    }

    public Integer getCode() {
        return code;
    }
}
